package com.ms.education.course.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ms.education.course.entity.PushSchedule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 推送计划 服务类
 * </p>
 *
 * @author ms
 * @since 2023-03-06
 */
public interface PushScheduleService extends IService<PushSchedule> {

    Page<PushSchedule> pagePush(long current, long limit, PushSchedule pushSchedule);

    //查询今日推送计划
    Map<String, Object> index();

    //删除推送计划
    void deletePush(Integer[] ids);

    Map<String, Object> getPushById(Integer id, boolean isContainCourse, boolean isContainClass);
}
